package com.mall.user;

import com.mall.user.dto.*;

public interface ILoginService {

    /**
     * 用户登录
     * @param request
     * @return
     */
    UserLoginResponse userLogin(UserLoginRequest request);


    /**
     * 查询用户登录状态
     * @return
     */
    UserLoginStatusResponse userLoginVerify(UserLoginStatusRequest request);

    /**
     * 验证token是否有效
     * @param request
     * @return 用户信息
     */
    CheckAuthResponse validToken(CheckAuthRequest request);

}
